package com.readhacker;

/**
 * @Author: ReadHacker
 * @Date: 2022年07月05日 14:39
 * @Description:
 **/
public enum ResultInfo {
    GLOBAL_ERROR("101","系统繁忙"),
    NOT_FOUND("404", "没有找到"),
    SUCCESS("200", "操作成功"),
    ;
    private String code;
    private String message;

    ResultInfo(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
